Global Variables
The following global variables are available globally.
-
Key of the
AuthenticationCompletionStatus
in the userInfo dictionary of thePredixMobileAuthenticationComplete
notificationDeclaration
Swift
public let authenticationNotificationCompletionStatusKey = "completionStatus"
-
If authentication fails, the resulting Error object will contain an element relating to the stage of the authentication process where the failure occured under this key.
Declaration
Swift
public let authenticationErrorFailureStageKey = "pmAuthenticationFailureStage"
-
If authentication fails, the resulting Error object will contain an element relating to the validation type underway during the failure under this key.
Declaration
Swift
public let authenticationErrorValidationTypeKey = "pmAuthenticationValidationType"
-
Error domain for Database errors
Declaration
Swift
public let DatabaseManagerErrorDomain = PredixMobileErrorDomain.database.description
-
Error domain for Keychain errors
Declaration
Swift
public let KeychainErrorDomain = PredixMobileErrorDomain.keychain.description
-
Deprecated, please use NotificationConstants.documentChangedNotificationPrefix
Declaration
Swift
public let DocumentChangedNotificationPrefix = NotificationConstants.documentChangedNotificationPrefix
-
Deprecated, please use replicationCompleteNotificationSuffix
Declaration
Swift
public let ReplicationCompleteNotificationSuffix = NotificationConstants.replicationCompleteNotificationSuffix
-
Expected scheme to be used for Predix Mobile requests: http
Declaration
Swift
public let ApiScheme = "http"
-
Alternative scheme to be used for Predix Mobile requests: https
Declaration
Swift
public let ApiSchemeSecure = "https"
-
HTTP Version String
Declaration
Swift
public let HttpVersion = "HTTP/1.1"